package pms.common.service;

import java.util.List;

import pms.common.dao.UserDao;
import pms.common.utils.PMSLog;
import pms.common.value.UserSessionValue;

public class UserAuthServiceImpl implements UserAuthService {

	private UserDao userDao;
	
	public UserDao getUserDao() {
		return userDao;
	}


	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}


	public UserSessionValue authUser(String username, String password) {
		PMSLog.start();
		UserSessionValue l_result = userDao.authUser(username, password);
		PMSLog.end();
		return l_result;
	}


	public List<UserSessionValue> getUserList() {
		return userDao.getUserList();
	}

}
